export const titles = {
	id: '编号',// id
	workOrderTitle: '工单标题',// workOrderTitle
	unityName: '所属单位',// workOrderTitle
	projectName: '所属项目',// projectName
	workOrderType: '工单类型',// workOrderType
	workOrderStatus: '工单状态',// workOrderStatus
	waiting: '等待处理',// waiting
	createdByName: '发起人',// createdByName
	createdBy: '发起人',// createdByName
	createdAt: '发起时间',// createdAt
	action: '操作',
	unit: '所属单位',
}
export const prompt = {
	id: '请输入' + titles.id,
	workOrderTitle: '请输入' + titles.workOrderTitle,
	projectName: '请输入' + titles.projectName,
	workOrderType: '请输入' + titles.workOrderType,
	workOrderStatus: '请输入' + titles.workOrderStatus,
	waiting: '请输入' + titles.waiting,
	createdByName: '请输入' + titles.createdByName,
	createdBy: '请选择' + titles.createdByName,
	createdAt: '请输入' + titles.createdAt,
	unit: '请选择' + titles.unit,
}
export const defaultSearchFrom = () => {
	return {
		workOrderTitle: '',// workOrderTitle
		workOrderType: '',// workOrderType
		workOrderStatus: '',// workOrderStatus
		createdBy:null,// createdByName
		createdAt:[],
		startTime:'',
		endTime:'',
		unit:null,
		page: 1,
		limit: 10,
	}
}
export const defaultInfoFrom = () => {
	return {
		workOrderTitle: '',// workOrderTitle
		workOrderType: '',// workOrderType
		workOrderStatus: '',// workOrderStatus
		createdByName: '',// createdByName
		noticeType:[],
		failNotice:[],
		finishNotice:[],
		inspectionUser:[],
		groupId:[],
		workOrderImg:[]
	}
}
